<?php
/**
* 
*/
class ControllerBook extends GetLoad
{
	public function index(){
		if(isset($_COOKIE['name'])){
			$rusule=$this->SQLquery("SELECT * from name where name='".$_COOKIE['name']."'");

			header("Location: ./index.php?route=Controller/zhuye/ControllerZhuye/index&=".$rusule[0]['name_id']); 
		}else{

			header("Location: ./index.php?route=Controller/denglu/ControllerDenglu/denglu"); 

		}
	}
}